export class Login {
  username: string
  password: string
  constructor(username: string, password: string) {
    this.username = username
    this.password = password
  }
}

export class Register {
  username: string
  password: string
  role: number
  studentClassName?: string
  constructor(username: string, password: string, role: number, studentClassName?: string) {
    this.username = username
    this.password = password
    this.role = role
    this.studentClassName = studentClassName
  }
}
